<template>
    <div class="my-header">
        <span></span>
        <div>
           <slot name="center"></slot>
        </div>
        <span>
            <slot name="right"></slot>
        </span>
    </div>
</template>
<style lang="scss" scoped>
.my-header{
    display: flex;
    align-items: center;
    height: 50px;
    background: #c00;
    color:#fff;
    justify-content: space-around;
    
}
</style>

